<?php


namespace App\Model;


use App\Rpc\UserProfileServiceInterface;
use Hyperf\Utils\Arr;

class UserProfileService extends Model implements UserProfileServiceInterface
{
    public function getUserInfoById(int $id): array
    {
        return $this->get("/user/profile",[
            "user_id"=>$id
        ]);
    }
}